﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading;
using Troschuetz.Random;

namespace TestNetwork
{
    class Program
    {
        static void Main(string[] args)
        {
            int[,] D = new int[,] { { 0, 12 }, { 4, 8 }, { 3, 1 }, { 4, 14 } };
            int[] B = new int[] { 10, 20, 30, 40 };

            //Screnario staticScenario = new StaticScenario(D, B, 10, 2000, 2);
            //staticScenario.Generate();

            //Console.WriteLine(int.MaxValue /3600);

            Screnario dynamicScrenario = new DynamicScrenario(D, B, 150, 2000, 80, 40);
            dynamicScrenario.Generate();

            //Console.WriteLine(D.Length / 2);

            //DiscreteUniformDistribution random =
            //   new DiscreteUniformDistribution(new ALFGenerator());

            //random.Alpha = 0;
            //random.Beta = (D.Length / 2) - 1;

            //int d;

            //for (int i = 0; i < 100; i++)
            //{
            //    d = random.Next();
            //    Console.WriteLine(D[d, 0] + " " + D[d, 1]);
            //    //Console.WriteLine(d);
            //}

            //int[] s = new int[101];

            //for (int i = 0; i < 100000; i++)
            //{
            //    s[random.Next()]++;
            //}

            //for (int i = 0; i <= 100; i++)
            //{
            //    Console.WriteLine(i + "-" + s[i]);
            //}
            
            //Console.ReadKey();
        }

    }
}
